package com.gopay.remote.order;

import com.gopay.common.exception.GopayException;

import java.util.List;
import java.util.Map;

/**
 * 更新订单 远程服务
 * 
 * @MainOrderStatusUpdateRemoteService.java
 * @author zhanglei
 * @2013-1-15 下午3:37:55 www.gopay.com.cn Inc.All rights reserved.
 */
public interface Tran01813OrderCheckAndUpdateRemoteService {

    /**
     * 校验关联订单的金额，更新关联订单的金额
     * @param relevanceGopayOrderId
     * @return
     * @throws GopayException
     */
    String checkAndUpdateOrder(String relevanceGopayOrderId);

    void updateOrderToFail(String relevanceGopayOrderId) throws GopayException;
}
